<template>
  <w-dialog ref="dialog" width="300" height="110" class="progress-dialog" :cover="true">
    <p>正在导出，请稍候..</p>
    <w-progress :percent="percent"></w-progress>
  </w-dialog>
</template>
<script>
  export default {
    props: ['percent'],
    mounted() {
      this.$refs.dialog.resolve(this.$refs.dialog)
    }
  }
</script>
<style>
  .progress-dialog {
    background-color: #fff;
    padding: 10px 20px;
  }
</style>